<!DOCTYPE html>
<html lang="en">
<head>
    <meta  http-equiv="content-type" content="text/html" charset="utf-8"/>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" charset="UTF-8" src="test.js" ></script>
    <script type="text/javascript">
        var a=10;
        var b=10.0;
        if(a==b){
            alert("a,b相等");
        }
        /*******************************/

        var a1=1;
        var b1=true;
        if(a1==b1){
            alert("a1,b1相等");
        }
        if(a1===b1){
            alert("a1,b1--相等");
        }else{
            alert("a1,b1不相等");
        }

        /*******************************/
        for(;;){
            alert("这是一个死循环");
        }

    </script>
</head>
<body>

</body>
</html>